package com.stgy.lease.web.api.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.stgy.lease.model.domain.BrowsingHistory;
import com.stgy.lease.model.domain.UserInfo;
import com.stgy.lease.web.api.dto.BaseSearchDto;
import com.stgy.lease.web.api.vo.HistoryItemVo;
import org.apache.ibatis.annotations.Param;

/**
* @author lingx
* @description 针对表【browsing_history(浏览历史)】的数据库操作Service
* @createDate 2024-08-28 11:00:29
*/
public interface BrowsingHistoryService extends IService<BrowsingHistory> {

    void saveOrUpdateAsync(@Param("userId") Long userId,@Param("id") Long id);

    //分页查询浏览记录
    Page<HistoryItemVo> pageItem(BaseSearchDto searchDto);
}
